package com.hqyj.service;

import com.hqyj.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpSession;
import java.util.HashMap;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author rock
 * @since 2021-10-21
 */
public interface IUserService {
    //登录
    HashMap<String, Object> login(User user, HttpSession session);

    HashMap<String, Object> queryAll(User user);

    HashMap<String, Object> update(User user);

    HashMap<String, Object> addUser(User user);

    HashMap<String, Object> delUser(Integer id);
    
    HashMap<String, Object> updatePwd(String pwd, String sysName);
}
